/**
 * 
 */
package es.uab.es2.TimeTracker.nucli;

import java.util.Observable;
import java.util.Observer;

/** 
 * @author sule
 */
public class Interval implements Observer {

	/**
	 * @uml.property  name="projecte"
	 * @uml.associationEnd  multiplicity="(1 1)" inverse="intervals:es.uab.es2.TimeTracker.nucli.Projecte"
	 */
	private Projecte projecte = null;

	/**
	 * Getter of the property <tt>projecte</tt>
	 * @return  Returns the projecte.
	 * @uml.property  name="projecte"
	 */
	public Projecte getProjecte() {
		return projecte;
	}

	/**
	 * Setter of the property <tt>projecte</tt>
	 * @param projecte  The projecte to set.
	 * @uml.property  name="projecte"
	 */
	public void setProjecte(Projecte projecte) {
		this.projecte = projecte;
	}

    @Override
    public void update(Observable observable, Object data) {
        // TODO Auto-generated method stub
        
    }

	/** 
	 * @uml.property name="tascaPare"
	 * @uml.associationEnd multiplicity="(1 1)" inverse="intervals:es.uab.es2.TimeTracker.nucli.Tasca"
	 */
	private Tasca tasca = null;

	/**
	 * Getter of the property <tt>tascaPare</tt>
	 * @return  Returns the tasca.
	 * @uml.property  name="tascaPare"
	 */
	public Tasca getTascaPare() {
		return tasca;
	}

	/**
	 * Setter of the property <tt>tascaPare</tt>
	 * @param tascaPare  The tasca to set.
	 * @uml.property  name="tascaPare"
	 */
	public void setTascaPare(Tasca tascaPare) {
		tasca = tascaPare;
	}

}
